package com.block.dao;

import com.block.entity.BlockUser;

import java.util.List;

public interface BlockUserMapper {
    int deleteByPrimaryKey(String id);

    int insert(BlockUser record);

    int insertSelective(BlockUser record);

    BlockUser selectByPrimaryKey(String id);

    //是否
    int updateByPrimaryKeySelective(BlockUser record);

    int updateByPrimaryKey(BlockUser record);

    //获取某个部落所有的人的信息，可计算贡献值
    List<BlockUser> getAll(BlockUser user);

    //获取单个用户在此部落的信息
    BlockUser getOneBlockUser(BlockUser user);


}